from machine import Timer

def init_timers():
    tim0 = Timer(0)
    tim0.init(period=1000 * 60, mode=Timer.PERIODIC, callback=lambda t:print(clock.datetime()))


    tim2 = Timer(2)
    tim2.init(period=1000 * 60 * 60, mode=Timer.PERIODIC, callback=lambda t:print(clock.sync_network_time()))